﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using BLLA;
using Common;
using LoveEat.Helper;
namespace LoveEat.WebController
{
    public class HomeController : BaseController
    {

        public ActionResult test()
        {

            var wechatInfo = OperateContext.Current.BLLSession.Iwechat_infoBLL.GetListBy(w => w.originalId == "aichidiancan").FirstOrDefault();

            if (wechatInfo == null || wechatInfo.id <= 0)
            {
                Log.Info("LuckyMpController | ReceiveWxEventPost None WechatMp Info - " + wechatInfo);
                return View();
            }
            return View();
        }
       public ActionResult Index()
       {

           IBLL.IemployeeBLL ss = new BLLA.employee();


           var sss = OperateContext.Current.BLLSession.IemployeeBLL.GetListBy(s => s.employee_id > 0);
 
           return View();
       }
    }
}
